﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace Server_NhaSach.WCF_Interface
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiec_QLNhaSach" in both code and config file together.
    [ServiceContract]
    public interface IPhieuChi
    {
        [OperationContract]
        bool InsertPhieuChi(string mapc, string mancc, string maNV, DateTime ngaychi, string khoanmucchi, string lydochi, double sotienchi, string chungtupc);
        [OperationContract]
        bool UpdatePhieuChi(string mapc, string mancc, DateTime ngaychi, string khoanmucchi, string lydochi, double sotienchi, string chungtupc);
        [OperationContract]
        bool DeletePhieuChi(string MaPC);
        [OperationContract]
        string LayDS_PhieuChi();
    }
}
